package com.oydsoft.api.system;

import com.oydsoft.dto.code.S96;
import com.oydsoft.dto.system.dto.S01Dto;
import com.oydsoft.dto.system.po.S01;
import com.oydsoft.common.model.BaseResponse;
import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Api(tags="系统用户表服务(测试)",description = "")
@RequestMapping("/s01")
public interface S01Service {

    @GetMapping("/list")
    @ApiOperation(value = "返回用户集合")
    @ApiImplicitParams({
        @ApiImplicitParam(value = "账户名称", name = "S0102", required = true, example = "admin"),
        @ApiImplicitParam(value="用户id",name="id",example = "123"),
        @ApiImplicitParam(value = "创建时间", name = "Z0020", required = true, example = "2020年8月20日14:17:56"),
    })
    BaseResponse<List<S01>> getS01List(S01Dto s01);

    @ApiOperation(value = "测试Feign调用S96获取List接口")
    /*@ApiImplicitParam(name="id",value="id",required=true,paramType="form")*/
    @GetMapping("/s96list")
    BaseResponse<List<S96>> getS96List(/*@ApiParam("传入的id")*/ Integer id);
}
